
import request from '../index';

/**
 * @description: set base settings
 * @param {*} params 
 * isDBA: /true/false,
 * wifi_24g_ssid,
 * wifi_24g_password,
 * wifi_24g_encryption,
 * wifi_24g_channel,
 * wifi_24g_bandwidth,
 * wifi_24g_security_mode,
 * wifi_24g_security_key
 * 
 * wifi_5g_ssid,
 * wifi_5g_password,
 * wifi_5g_encryption,
 * wifi_5g_channel,
 * wifi_5g_bandwidth,
 * wifi_5g_security_mode,
 * wifi_5g_security_key,,
 * @return {*}
 * */
export function setBaseSettings(params) {
    return request({
        url: '/api/basesettings',
        method: 'post',
        params
    });
}
